/**
 * Filename: YNStatus.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/3/1 10:47
 */
package com.github.postsanf.yinian.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 动态
 */
public class YNStatus extends BaseBean {
    private int eid;                                        // ID
    private YNUser publishUser;                                // 发布人
    private String etext;                                    // 动态内容
    private String euploadtime;                                // 上传时间
    private List<YNComment> comments;                        // 评论内容
    private List<String> url = new ArrayList<>();            // 图片地址
    private List<String> thumbnail = new ArrayList<>();       //缩略图地址
    private int elike;                                    // 点赞数
    private int lislike;                                    // 是否点赞  0 为点赞  1点赞
    private String ememorytime;                                // 记忆时间
    private List<Tag> tags = new ArrayList<>();                  //标签
    private String eplace;                                     //地点
    private String eaudio;                                     //音频
    private String eaudiotime;                                     //音频时间
    private int etype;                                     //动态类型
    private String ecover;
    private String eStoragePlace;
    private String efirstpic;
    private String eVerifyPic;
    private int eView;
    private List<ViewBean> view;
    private int egroupid;
    private List<YNLike> like;
    private List<YNPicList> picList;
    private int eMain;
    private String ePlacePic;
    private String ePeopleName;
    private YnRedEnvelopInfo redEnvelopInfo;
    private List<YNReceiverInfo> receiveInfo;

    public int geteView() {
        return eView;
    }

    public void seteView(int eView) {
        this.eView = eView;
    }

    public List<YNReceiverInfo> getReceiveInfo() {
        return receiveInfo;
    }

    public void setReceiveInfo(List<YNReceiverInfo> receiveInfo) {
        this.receiveInfo = receiveInfo;
    }

    public YnRedEnvelopInfo getRedEnvelopInfo() {
        return redEnvelopInfo;
    }

    public void setRedEnvelopInfo(YnRedEnvelopInfo redEnvelopInfo) {
        this.redEnvelopInfo = redEnvelopInfo;
    }

    public String geteVerifyPic() {
        return eVerifyPic;
    }

    public void seteVerifyPic(String eVerifyPic) {
        this.eVerifyPic = eVerifyPic;
    }

    public int getEgroupid() {
        return egroupid;
    }

    public void setEgroupid(int egroupid) {
        this.egroupid = egroupid;
    }

    public List<YNPicList> getPicList() {
        return picList;
    }

    public void setPicList(List<YNPicList> picList) {
        this.picList = picList;
    }

    public List<YNLike> getLike() {
        return like;
    }

    public void setLike(List<YNLike> like) {
        this.like = like;
    }

    public int geteMain() {
        return eMain;
    }

    public void seteMain(int eMain) {
        this.eMain = eMain;
    }

    public String getePlacePic() {
        return ePlacePic;
    }

    public void setePlacePic(String ePlacePic) {
        this.ePlacePic = ePlacePic;
    }

    public String getePeopleName() {
        return ePeopleName;
    }

    public void setePeopleName(String ePeopleName) {
        this.ePeopleName = ePeopleName;
    }

    public String getEfirstpic() {
        return efirstpic;
    }

    public void setEfirstpic(String efirstpic) {
        this.efirstpic = efirstpic;
    }

    public String getEaudiotime() {
        return eaudiotime;
    }

    public void setEaudiotime(String eaudiotime) {
        this.eaudiotime = eaudiotime;
    }

    public String getEcover() {
        return ecover;
    }

    public void setEcover(String ecover) {
        this.ecover = ecover;
    }

    public String geteStoragePlace() {
        return eStoragePlace;
    }

    public void seteStoragePlace(String eStoragePlace) {
        this.eStoragePlace = eStoragePlace;
    }

    public int getEtype() {
        return etype;
    }

    public void setEtype(int etype) {
        this.etype = etype;
    }

    public String getEmemorytime() {
        return ememorytime;
    }

    public void setEmemorytime(String ememorytime) {
        this.ememorytime = ememorytime;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public String getEplace() {
        return eplace;
    }

    public void setEplace(String eplace) {
        this.eplace = eplace;
    }

    public String getEaudio() {
        return eaudio;
    }

    public void setEaudio(String eaudio) {
        this.eaudio = eaudio;
    }

    // 我的页面专用
    private String gname;                                    // 组名

    public int getElike() {
        return elike;
    }

    public void setElike(int elike) {
        this.elike = elike;
    }

    public int getLislike() {
        return lislike;
    }

    public void setLislike(int lislike) {
        this.lislike = lislike;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public YNUser getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(YNUser publishUser) {
        this.publishUser = publishUser;
    }

    public String getEtext() {
        return etext;
    }

    public void setEtext(String etext) {
        this.etext = etext;
    }

    public String getEuploadtime() {
        return euploadtime;
    }

    public void setEuploadtime(String euploadtime) {
        this.euploadtime = euploadtime;
    }

    public List<YNComment> getComments() {
        return comments;
    }

    public void setComments(List<YNComment> comments) {
        this.comments = comments;
    }

    public List<String> getUrl() {
        return url;
    }

    public void setUrl(List<String> url) {
        this.url = url;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public List<String> getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(List<String> thumbnail) {
        this.thumbnail = thumbnail;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNStatus) {
            return this.eid == ((YNStatus) o).eid;
        }
        return super.equals(o);
    }

    public List<ViewBean> getView() {
        return view;
    }

    public void setView(List<ViewBean> view) {
        this.view = view;
    }

    public static class ViewBean extends BaseBean {
        private String unickname;
        private String upic;
        private String userid;
        private String veid;

        public String getUnickname() {
            return unickname;
        }

        public void setUnickname(String unickname) {
            this.unickname = unickname;
        }

        public String getUpic() {
            return upic;
        }

        public void setUpic(String upic) {
            this.upic = upic;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getVeid() {
            return veid;
        }

        public void setVeid(String veid) {
            this.veid = veid;
        }
    }
}